package com.hanxu.mallproduct.feign;

import com.hanxu.common.to.es.SkuEsModel;
import com.hanxu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Service
@FeignClient("mall-search")
public interface SearchFeignService {
    @PostMapping("/mallsearch/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
